<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>CSS自定义三角形形状复选框按钮</title>
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <label>
      <input type="checkbox">
      <text>Off</text>
      <text>ON</text>
      <span class="angle"></span>
    </label>
  </body>
</html>
